.dx-size-default() {
    @GENERIC_TOAST_LINE_HEIGHT: 32px;
    @GENERIC_TOAST_ICON_SIZE: 35px;
    @GENERIC_TOAST_CONTENT_PADDING: 10px;
}
.dx-size-compact() {
    @GENERIC_TOAST_LINE_HEIGHT: 25px;
    @GENERIC_TOAST_ICON_SIZE: 25px;
    @GENERIC_TOAST_CONTENT_PADDING: 5px;
}

@GENERIC_TOAST_SHADOW: 0px 2px 3px 0px @toast-shadow-color;


.dx-toast-content {
    color: @toast-color;
    font-size: @GENERIC_BASE_FONT_SIZE;
    font-weight: 600;
    line-height: @GENERIC_TOAST_LINE_HEIGHT;
    padding: @GENERIC_TOAST_CONTENT_PADDING;
    .box-shadow(@GENERIC_TOAST_SHADOW);
    .border-radius(@toast-border-radius);
}

.dx-toast-icon {
    width: @GENERIC_TOAST_ICON_SIZE;
    height: @GENERIC_TOAST_ICON_SIZE;
}

.dx-toast-info {
    background-color: @toast-info-bg;

    .dx-toast-icon {
        background-image: @toast-info-icon-image-bg;
    }
}

.dx-toast-message {
    line-height: 16px;
}

.dx-toast-warning {
    background-color: @toast-warning-bg;

    .dx-toast-icon {
        background-image: @toast-warning-icon-image-bg;
    }
}

.dx-toast-error {
    background-color: @toast-error-bg;

    .dx-toast-icon {
        background-image: @toast-error-icon-image-bg;
    }
}

.dx-toast-success {
    background-color: @toast-success-bg;

    .dx-toast-icon {
        background-image: @toast-success-icon-image-bg;
    }
}
